/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * InterArbSync.java
 *
 * Created on Sep 29, 2011, 2:54:05 PM
 */
package aor2.gui.cpu;

import aor2.cpu.blockcontrol.ControlSignalSet;
import aor2.cpu.blockinterface.BusOvertake;
import aor2.cpu.blockinterface.SynchronizationBlock;
import aor2.systembus.SystemBus;
import java.awt.Graphics;

/**
 * 
 * @author Yogi
 */
public class InterArbSync extends javax.swing.JPanel {
	private static InterArbSync singleton = null;

	public static InterArbSync getInstance() {
		if (singleton == null)
			singleton = new InterArbSync();
		return singleton;
	}

	private JLabelSet read, write, enrw, FFC, notFFC, notDRD, notDWR, wr, rd,
			enFFC, Dffc;

	private void makeSignals() {
		read = new JLabelSet(false, read1, read2);
		write = new JLabelSet(false, write1, write2);
		enrw = new JLabelSet(false, enrw1, enrw2, enrw3, enrw4, enrw5, enrw6,
				enrw7);
		FFC = new JLabelSet(false, FFC1, FFC2, FFC3, FFC4);
		notFFC = new JLabelSet(false, notFFC1, notFFC2, notFFC3, notFFC4,
				notFFC5);
		notDRD = new JLabelSet(false, notDRD1, notDRD2, notDRD3, notDRD4);
		notDWR = new JLabelSet(false, notDWR1, notDWR2, notDWR3, notDWR4);
		wr = new JLabelSet(false, wr1, wr2, wr3);
		rd = new JLabelSet(false, rd1, rd2, rd3);
		enFFC = new JLabelSet(false, enFFC1, enFFC2, enFFC3, enFFC4, enFFC5);
		Dffc = new JLabelSet(false, Dffc1, Dffc2);

	}

	/**
	 * Creates new form InterrZahtevArbitr /** Creates new form InterArbSync
	 */
	public InterArbSync() {
		initComponents();
		makeSignals();
	}

	// TODO paint!
	@Override
	protected void paintComponent(Graphics g) {
		read.setEnabled(ControlSignalSet.getInstance().get("read").isActive());
		write.setEnabled(ControlSignalSet.getInstance().get("write").isActive());
		enrw.setEnabled(BusOvertake.getInstance().getEnrw().isActive());
		if (!SynchronizationBlock.getInstance().getfcHighLocal()) {
                    fc1();
                    notFcbus.setEnabled(!SynchronizationBlock.getInstance().getfcLocal());                    
                }
                else 
                    fcZ();
		OEread.setEnabled(SynchronizationBlock.getInstance().getOEread()
				.isActive());
		OEwrite.setEnabled(SynchronizationBlock.getInstance().getOEwrite()
				.isActive());
		notFFC.setEnabled(!SynchronizationBlock.getInstance().getFfc().getOut()
				.isActive());
		FFC.setEnabled(SynchronizationBlock.getInstance().getFfc().getOut()
				.isActive());
		notDFFC.setEnabled(!SynchronizationBlock.getInstance().getDffc()
				.getOut().isActive());
		DFFC.setEnabled(SynchronizationBlock.getInstance().getDffc().getOut()
				.isActive());
		rd.setEnabled(SynchronizationBlock.getInstance().getRd().getOut()
				.isActive());
		wr.setEnabled(SynchronizationBlock.getInstance().getWr().getOut()
				.isActive());
		Drd.setEnabled(SynchronizationBlock.getInstance().getDrd().getOut()
				.isActive());
		notDRD.setEnabled(!SynchronizationBlock.getInstance().getDrd().getOut()
				.isActive());
		Dwr.setEnabled(SynchronizationBlock.getInstance().getDwr().getOut()
				.isActive());
		notDWR.setEnabled(!SynchronizationBlock.getInstance().getDwr().getOut()
				.isActive());
		//Dffc.setEnabled(SystemBus.getInstance().getFcbus() && BusOvertake.getInstance().getEnrw().isActive());//SynchronizationBlock.getInstance().getKomb1()
				//.isActive());
                Dffc.setEnabled(SynchronizationBlock.getInstance().getKomb1().isActive());
				//.isActive());
		readin.setEnabled(SynchronizationBlock.getInstance().getKomb2()
				.isActive());
		writein.setEnabled(SynchronizationBlock.getInstance().getKomb3()
				.isActive());
		notRDBUS.setEnabled(!SystemBus.getInstance().getRdbus());
                enFFC.setEnabled(SynchronizationBlock.getInstance().getEnFFC().isActive());
                fc.setEnabled(SynchronizationBlock.getInstance().getfcLocal());
	}
       
        
        private void fcZ(){
           notFcbus.setIcon(new javax.swing.ImageIcon(getClass().getResource(
                   "/aor2/common/resources/vert_1pt_z.jpg"))); // NOI18N
           notFcbus.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource(
                   "/aor2/common/resources/vert_1pt_z.jpg"))); // NOI18N
        }
        
         private void fc1(){
           notFcbus.setIcon(new javax.swing.ImageIcon(getClass().getResource(
                   "/aor2/common/resources/vert_1pt_1.jpg")));
           notFcbus.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource(
                   "/aor2/common/resources/vert_1pt_0.jpg")));
        }

	/**
	 * This method is called from within the constructor to initialize the form.
	 * WARNING: Do NOT modify this code. The content of this method is always
	 * regenerated by the Form Editor.
	 */
	@SuppressWarnings("unchecked")
	// <editor-fold defaultstate="collapsed"
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {
        java.awt.GridBagConstraints gridBagConstraints;

        jLayeredPane1 = new javax.swing.JLayeredPane();
        jLabel3 = new javax.swing.JLabel();
        read1 = new javax.swing.JLabel();
        read2 = new javax.swing.JLabel();
        write1 = new javax.swing.JLabel();
        write2 = new javax.swing.JLabel();
        enrw1 = new javax.swing.JLabel();
        enrw2 = new javax.swing.JLabel();
        enrw3 = new javax.swing.JLabel();
        enrw4 = new javax.swing.JLabel();
        enrw5 = new javax.swing.JLabel();
        enrw6 = new javax.swing.JLabel();
        enrw7 = new javax.swing.JLabel();
        FFC1 = new javax.swing.JLabel();
        FFC2 = new javax.swing.JLabel();
        FFC3 = new javax.swing.JLabel();
        FFC4 = new javax.swing.JLabel();
        DFFC = new javax.swing.JLabel();
        notFFC1 = new javax.swing.JLabel();
        notFFC2 = new javax.swing.JLabel();
        notFFC3 = new javax.swing.JLabel();
        notFFC4 = new javax.swing.JLabel();
        notFFC5 = new javax.swing.JLabel();
        notDRD1 = new javax.swing.JLabel();
        notDRD2 = new javax.swing.JLabel();
        notDRD3 = new javax.swing.JLabel();
        notDRD4 = new javax.swing.JLabel();
        notDWR1 = new javax.swing.JLabel();
        notDWR2 = new javax.swing.JLabel();
        notDWR3 = new javax.swing.JLabel();
        notDWR4 = new javax.swing.JLabel();
        wr1 = new javax.swing.JLabel();
        wr2 = new javax.swing.JLabel();
        wr3 = new javax.swing.JLabel();
        rd1 = new javax.swing.JLabel();
        rd2 = new javax.swing.JLabel();
        rd3 = new javax.swing.JLabel();
        notDFFC = new javax.swing.JLabel();
        enFFC1 = new javax.swing.JLabel();
        enFFC2 = new javax.swing.JLabel();
        enFFC3 = new javax.swing.JLabel();
        enFFC4 = new javax.swing.JLabel();
        enFFC5 = new javax.swing.JLabel();
        notFcbus = new javax.swing.JLabel();
        Dwr = new javax.swing.JLabel();
        Drd = new javax.swing.JLabel();
        readin = new javax.swing.JLabel();
        writein = new javax.swing.JLabel();
        Dffc2 = new javax.swing.JLabel();
        Dffc1 = new javax.swing.JLabel();
        notRDBUS = new javax.swing.JLabel();
        notWRBUS = new javax.swing.JLabel();
        OEread = new javax.swing.JLabel();
        OEwrite = new javax.swing.JLabel();
        fc = new javax.swing.JLabel();
        jLabel2 = new javax.swing.JLabel();
        jLabel4 = new javax.swing.JLabel();
        jLabel5 = new javax.swing.JLabel();
        jLabel6 = new javax.swing.JLabel();
        jLabel7 = new javax.swing.JLabel();
        jLabel8 = new javax.swing.JLabel();
        jPanel1 = new javax.swing.JPanel();
        jLabel1 = new javax.swing.JLabel();

        setLayout(new java.awt.GridBagLayout());

        jLabel3.setBackground(new java.awt.Color(255, 255, 255));
        jLabel3.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/invert.jpg"))); // NOI18N
        jLabel3.setOpaque(true);
        jLabel3.setBounds(49, 310, 20, 23);
        jLayeredPane1.add(jLabel3, javax.swing.JLayeredPane.DEFAULT_LAYER);

        read1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        read1.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        read1.setEnabled(false);
        read1.setBounds(30, 5, 80, 7);
        jLayeredPane1.add(read1, javax.swing.JLayeredPane.DEFAULT_LAYER);

        read2.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        read2.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        read2.setEnabled(false);
        read2.setBounds(330, 347, 69, 7);
        jLayeredPane1.add(read2, javax.swing.JLayeredPane.DEFAULT_LAYER);

        write1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        write1.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        write1.setEnabled(false);
        write1.setBounds(30, 65, 80, 7);
        jLayeredPane1.add(write1, javax.swing.JLayeredPane.DEFAULT_LAYER);

        write2.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        write2.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        write2.setEnabled(false);
        write2.setBounds(329, 533, 69, 7);
        jLayeredPane1.add(write2, javax.swing.JLayeredPane.DEFAULT_LAYER);

        enrw1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        enrw1.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        enrw1.setEnabled(false);
        enrw1.setBounds(30, 17, 80, 7);
        jLayeredPane1.add(enrw1, javax.swing.JLayeredPane.DEFAULT_LAYER);

        enrw2.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        enrw2.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/vert_1pt_1.jpg"))); // NOI18N
        enrw2.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/vert_1pt_0.jpg"))); // NOI18N
        enrw2.setEnabled(false);
        enrw2.setBounds(55, 20, 34, 37);
        jLayeredPane1.add(enrw2, javax.swing.JLayeredPane.DEFAULT_LAYER);

        enrw3.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        enrw3.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        enrw3.setEnabled(false);
        enrw3.setBounds(70, 53, 40, 7);
        jLayeredPane1.add(enrw3, javax.swing.JLayeredPane.DEFAULT_LAYER);

        enrw4.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        enrw4.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        enrw4.setEnabled(false);
        enrw4.setBounds(72, 341, 327, 7);
        jLayeredPane1.add(enrw4, javax.swing.JLayeredPane.DEFAULT_LAYER);

        enrw5.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        enrw5.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        enrw5.setEnabled(false);
        enrw5.setBounds(300, 527, 99, 7);
        jLayeredPane1.add(enrw5, javax.swing.JLayeredPane.DEFAULT_LAYER);

        enrw6.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        enrw6.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/vert_1pt_1.jpg"))); // NOI18N
        enrw6.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/vert_1pt_0.jpg"))); // NOI18N
        enrw6.setEnabled(false);
        enrw6.setBounds(64, 270, 14, 100);
        jLayeredPane1.add(enrw6, javax.swing.JLayeredPane.DEFAULT_LAYER);

        enrw7.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        enrw7.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/vert_1pt_1.jpg"))); // NOI18N
        enrw7.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/vert_1pt_0.jpg"))); // NOI18N
        enrw7.setEnabled(false);
        enrw7.setBounds(293, 344, 14, 187);
        jLayeredPane1.add(enrw7, javax.swing.JLayeredPane.DEFAULT_LAYER);

        FFC1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        FFC1.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        FFC1.setEnabled(false);
        FFC1.setBounds(293, 150, 193, 7);
        jLayeredPane1.add(FFC1, javax.swing.JLayeredPane.DEFAULT_LAYER);

        FFC2.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        FFC2.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        FFC2.setEnabled(false);
        FFC2.setBounds(450, 620, 35, 7);
        jLayeredPane1.add(FFC2, javax.swing.JLayeredPane.DEFAULT_LAYER);

        FFC3.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        FFC3.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        FFC3.setEnabled(false);
        FFC3.setBounds(450, 426, 35, 7);
        jLayeredPane1.add(FFC3, javax.swing.JLayeredPane.DEFAULT_LAYER);

        FFC4.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        FFC4.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/vert_1pt_1.jpg"))); // NOI18N
        FFC4.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/vert_1pt_0.jpg"))); // NOI18N
        FFC4.setEnabled(false);
        FFC4.setBounds(442, 153, 14, 471);
        jLayeredPane1.add(FFC4, javax.swing.JLayeredPane.DEFAULT_LAYER);

        DFFC.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        DFFC.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        DFFC.setEnabled(false);
        DFFC.setBounds(581, 150, 118, 7);
        jLayeredPane1.add(DFFC, javax.swing.JLayeredPane.DEFAULT_LAYER);

        notFFC1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        notFFC1.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        notFFC1.setBounds(293, 236, 18, 7);
        jLayeredPane1.add(notFFC1, javax.swing.JLayeredPane.DEFAULT_LAYER);

        notFFC2.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        notFFC2.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        notFFC2.setBounds(311, 290, 370, 7);
        jLayeredPane1.add(notFFC2, javax.swing.JLayeredPane.DEFAULT_LAYER);

        notFFC3.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        notFFC3.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/vert_1pt_1.jpg"))); // NOI18N
        notFFC3.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/vert_1pt_0.jpg"))); // NOI18N
        notFFC3.setBounds(304, 239, 14, 55);
        jLayeredPane1.add(notFFC3, javax.swing.JLayeredPane.DEFAULT_LAYER);

        notFFC4.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        notFFC4.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/vert_1pt_1.jpg"))); // NOI18N
        notFFC4.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/vert_1pt_0.jpg"))); // NOI18N
        notFFC4.setBounds(673, 165, 14, 129);
        jLayeredPane1.add(notFFC4, javax.swing.JLayeredPane.DEFAULT_LAYER);

        notFFC5.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        notFFC5.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        notFFC5.setBounds(680, 162, 18, 7);
        jLayeredPane1.add(notFFC5, javax.swing.JLayeredPane.DEFAULT_LAYER);

        notDRD1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        notDRD1.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        notDRD1.setBounds(389, 480, 461, 7);
        jLayeredPane1.add(notDRD1, javax.swing.JLayeredPane.DEFAULT_LAYER);

        notDRD2.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        notDRD2.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        notDRD2.setBounds(821, 428, 30, 7);
        jLayeredPane1.add(notDRD2, javax.swing.JLayeredPane.DEFAULT_LAYER);

        notDRD3.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        notDRD3.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/vert_1pt_1.jpg"))); // NOI18N
        notDRD3.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/vert_1pt_0.jpg"))); // NOI18N
        notDRD3.setBounds(382, 356, 14, 128);
        jLayeredPane1.add(notDRD3, javax.swing.JLayeredPane.DEFAULT_LAYER);

        notDRD4.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        notDRD4.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/vert_1pt_1.jpg"))); // NOI18N
        notDRD4.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/vert_1pt_0.jpg"))); // NOI18N
        notDRD4.setBounds(843, 431, 14, 53);
        jLayeredPane1.add(notDRD4, javax.swing.JLayeredPane.DEFAULT_LAYER);

        notDWR1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        notDWR1.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        notDWR1.setBounds(821, 620, 30, 7);
        jLayeredPane1.add(notDWR1, javax.swing.JLayeredPane.DEFAULT_LAYER);

        notDWR2.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        notDWR2.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        notDWR2.setBounds(389, 670, 462, 7);
        jLayeredPane1.add(notDWR2, javax.swing.JLayeredPane.DEFAULT_LAYER);

        notDWR3.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        notDWR3.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/vert_1pt_1.jpg"))); // NOI18N
        notDWR3.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/vert_1pt_0.jpg"))); // NOI18N
        notDWR3.setBounds(382, 542, 14, 132);
        jLayeredPane1.add(notDWR3, javax.swing.JLayeredPane.DEFAULT_LAYER);

        notDWR4.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        notDWR4.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/vert_1pt_1.jpg"))); // NOI18N
        notDWR4.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/vert_1pt_0.jpg"))); // NOI18N
        notDWR4.setBounds(843, 622, 14, 52);
        jLayeredPane1.add(notDWR4, javax.swing.JLayeredPane.DEFAULT_LAYER);

        wr1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        wr1.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        wr1.setEnabled(false);
        wr1.setBounds(581, 534, 144, 7);
        jLayeredPane1.add(wr1, javax.swing.JLayeredPane.DEFAULT_LAYER);

        wr2.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        wr2.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        wr2.setEnabled(false);
        wr2.setBounds(700, 500, 187, 7);
        jLayeredPane1.add(wr2, javax.swing.JLayeredPane.DEFAULT_LAYER);

        wr3.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        wr3.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/vert_1pt_1.jpg"))); // NOI18N
        wr3.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/vert_1pt_0.jpg"))); // NOI18N
        wr3.setEnabled(false);
        wr3.setBounds(693, 503, 14, 35);
        jLayeredPane1.add(wr3, javax.swing.JLayeredPane.DEFAULT_LAYER);

        rd1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        rd1.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        rd1.setEnabled(false);
        rd1.setBounds(581, 343, 144, 7);
        jLayeredPane1.add(rd1, javax.swing.JLayeredPane.DEFAULT_LAYER);

        rd2.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        rd2.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        rd2.setEnabled(false);
        rd2.setBounds(700, 271, 187, 7);
        jLayeredPane1.add(rd2, javax.swing.JLayeredPane.DEFAULT_LAYER);

        rd3.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        rd3.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/vert_1pt_1.jpg"))); // NOI18N
        rd3.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/vert_1pt_0.jpg"))); // NOI18N
        rd3.setEnabled(false);
        rd3.setBounds(693, 274, 14, 73);
        jLayeredPane1.add(rd3, javax.swing.JLayeredPane.DEFAULT_LAYER);

        notDFFC.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        notDFFC.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        notDFFC.setBounds(581, 235, 50, 7);
        jLayeredPane1.add(notDFFC, javax.swing.JLayeredPane.DEFAULT_LAYER);

        enFFC1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        enFFC1.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        enFFC1.setEnabled(false);
        enFFC1.setBounds(691, 190, 50, 7);
        jLayeredPane1.add(enFFC1, javax.swing.JLayeredPane.DEFAULT_LAYER);

        enFFC2.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        enFFC2.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        enFFC2.setEnabled(false);
        enFFC2.setBounds(691, 428, 35, 7);
        jLayeredPane1.add(enFFC2, javax.swing.JLayeredPane.DEFAULT_LAYER);

        enFFC3.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        enFFC3.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        enFFC3.setEnabled(false);
        enFFC3.setBounds(691, 620, 35, 7);
        jLayeredPane1.add(enFFC3, javax.swing.JLayeredPane.DEFAULT_LAYER);

        enFFC4.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        enFFC4.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/vert_1pt_1.jpg"))); // NOI18N
        enFFC4.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/vert_1pt_0.jpg"))); // NOI18N
        enFFC4.setEnabled(false);
        enFFC4.setBounds(684, 192, 14, 432);
        jLayeredPane1.add(enFFC4, javax.swing.JLayeredPane.DEFAULT_LAYER);

        enFFC5.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        enFFC5.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/vert_1pt_1.jpg"))); // NOI18N
        enFFC5.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/vert_1pt_0.jpg"))); // NOI18N
        enFFC5.setEnabled(false);
        enFFC5.setBounds(733, 158, 14, 36);
        jLayeredPane1.add(enFFC5, javax.swing.JLayeredPane.DEFAULT_LAYER);

        notFcbus.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        notFcbus.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/vert_1pt_1.jpg"))); // NOI18N
        notFcbus.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/vert_1pt_0.jpg"))); // NOI18N
        notFcbus.setBounds(52, 333, 14, 40);
        jLayeredPane1.add(notFcbus, javax.swing.JLayeredPane.DEFAULT_LAYER);

        Dwr.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        Dwr.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        Dwr.setEnabled(false);
        Dwr.setBounds(821, 535, 30, 7);
        jLayeredPane1.add(Dwr, javax.swing.JLayeredPane.DEFAULT_LAYER);

        Drd.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        Drd.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        Drd.setEnabled(false);
        Drd.setBounds(821, 343, 30, 7);
        jLayeredPane1.add(Drd, javax.swing.JLayeredPane.DEFAULT_LAYER);

        readin.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        readin.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        readin.setEnabled(false);
        readin.setBounds(429, 347, 57, 7);
        jLayeredPane1.add(readin, javax.swing.JLayeredPane.DEFAULT_LAYER);

        writein.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        writein.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        writein.setEnabled(false);
        writein.setBounds(431, 533, 55, 7);
        jLayeredPane1.add(writein, javax.swing.JLayeredPane.DEFAULT_LAYER);

        Dffc2.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        Dffc2.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/vert_1pt_1.jpg"))); // NOI18N
        Dffc2.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/vert_1pt_0.jpg"))); // NOI18N
        Dffc2.setEnabled(false);
        Dffc2.setBounds(58, 153, 14, 86);
        jLayeredPane1.add(Dffc2, javax.swing.JLayeredPane.DEFAULT_LAYER);

        Dffc1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        Dffc1.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        Dffc1.setEnabled(false);
        Dffc1.setBounds(63, 150, 134, 7);
        jLayeredPane1.add(Dffc1, javax.swing.JLayeredPane.DEFAULT_LAYER);

        notRDBUS.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        notRDBUS.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        notRDBUS.setBounds(906, 272, 30, 7);
        jLayeredPane1.add(notRDBUS, javax.swing.JLayeredPane.DEFAULT_LAYER);

        notWRBUS.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        notWRBUS.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        notWRBUS.setBounds(906, 500, 30, 7);
        jLayeredPane1.add(notWRBUS, javax.swing.JLayeredPane.DEFAULT_LAYER);

        OEread.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        OEread.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        OEread.setEnabled(false);
        OEread.setBounds(860, 260, 35, 7);
        jLayeredPane1.add(OEread, javax.swing.JLayeredPane.DEFAULT_LAYER);

        OEwrite.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_1.jpg"))); // NOI18N
        OEwrite.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/horiz_1pt_0.jpg"))); // NOI18N
        OEwrite.setEnabled(false);
        OEwrite.setBounds(865, 487, 30, 7);
        jLayeredPane1.add(OEwrite, javax.swing.JLayeredPane.DEFAULT_LAYER);

        fc.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/vert_1pt_1.jpg"))); // NOI18N
        fc.setDisabledIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/vert_1pt_0.jpg"))); // NOI18N
        fc.setEnabled(false);
        fc.setBounds(58, 270, 7, 40);
        jLayeredPane1.add(fc, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jLabel2.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/vert_1pt_1.jpg"))); // NOI18N
        jLabel2.setBounds(245, 105, 7, 25);
        jLayeredPane1.add(jLabel2, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jLabel4.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/vert_1pt_1.jpg"))); // NOI18N
        jLabel4.setBounds(532, 105, 7, 25);
        jLayeredPane1.add(jLabel4, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jLabel5.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/vert_1pt_1.jpg"))); // NOI18N
        jLabel5.setBounds(533, 295, 7, 25);
        jLayeredPane1.add(jLabel5, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jLabel6.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/vert_1pt_1.jpg"))); // NOI18N
        jLabel6.setBounds(773, 295, 7, 25);
        jLayeredPane1.add(jLabel6, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jLabel7.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/vert_1pt_1.jpg"))); // NOI18N
        jLabel7.setBounds(533, 487, 7, 25);
        jLayeredPane1.add(jLabel7, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jLabel8.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/vert_1pt_1.jpg"))); // NOI18N
        jLabel8.setBounds(773, 487, 7, 25);
        jLayeredPane1.add(jLabel8, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jPanel1.setBackground(new java.awt.Color(255, 255, 255));
        jPanel1.setBounds(500, 680, 300, 20);
        jLayeredPane1.add(jPanel1, javax.swing.JLayeredPane.DEFAULT_LAYER);

        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
        add(jLayeredPane1, gridBagConstraints);

        jLabel1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/aor2/common/resources/InterarbSinhronizacija.jpg"))); // NOI18N
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 0;
        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
        gridBagConstraints.weightx = 1.0;
        gridBagConstraints.weighty = 1.0;
        add(jLabel1, gridBagConstraints);
    }// </editor-fold>//GEN-END:initComponents
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JLabel DFFC;
    private javax.swing.JLabel Dffc1;
    private javax.swing.JLabel Dffc2;
    private javax.swing.JLabel Drd;
    private javax.swing.JLabel Dwr;
    private javax.swing.JLabel FFC1;
    private javax.swing.JLabel FFC2;
    private javax.swing.JLabel FFC3;
    private javax.swing.JLabel FFC4;
    private javax.swing.JLabel OEread;
    private javax.swing.JLabel OEwrite;
    private javax.swing.JLabel enFFC1;
    private javax.swing.JLabel enFFC2;
    private javax.swing.JLabel enFFC3;
    private javax.swing.JLabel enFFC4;
    private javax.swing.JLabel enFFC5;
    private javax.swing.JLabel enrw1;
    private javax.swing.JLabel enrw2;
    private javax.swing.JLabel enrw3;
    private javax.swing.JLabel enrw4;
    private javax.swing.JLabel enrw5;
    private javax.swing.JLabel enrw6;
    private javax.swing.JLabel enrw7;
    private javax.swing.JLabel fc;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JLabel jLabel3;
    private javax.swing.JLabel jLabel4;
    private javax.swing.JLabel jLabel5;
    private javax.swing.JLabel jLabel6;
    private javax.swing.JLabel jLabel7;
    private javax.swing.JLabel jLabel8;
    private javax.swing.JLayeredPane jLayeredPane1;
    private javax.swing.JPanel jPanel1;
    private javax.swing.JLabel notDFFC;
    private javax.swing.JLabel notDRD1;
    private javax.swing.JLabel notDRD2;
    private javax.swing.JLabel notDRD3;
    private javax.swing.JLabel notDRD4;
    private javax.swing.JLabel notDWR1;
    private javax.swing.JLabel notDWR2;
    private javax.swing.JLabel notDWR3;
    private javax.swing.JLabel notDWR4;
    private javax.swing.JLabel notFFC1;
    private javax.swing.JLabel notFFC2;
    private javax.swing.JLabel notFFC3;
    private javax.swing.JLabel notFFC4;
    private javax.swing.JLabel notFFC5;
    private javax.swing.JLabel notFcbus;
    private javax.swing.JLabel notRDBUS;
    private javax.swing.JLabel notWRBUS;
    private javax.swing.JLabel rd1;
    private javax.swing.JLabel rd2;
    private javax.swing.JLabel rd3;
    private javax.swing.JLabel read1;
    private javax.swing.JLabel read2;
    private javax.swing.JLabel readin;
    private javax.swing.JLabel wr1;
    private javax.swing.JLabel wr2;
    private javax.swing.JLabel wr3;
    private javax.swing.JLabel write1;
    private javax.swing.JLabel write2;
    private javax.swing.JLabel writein;
    // End of variables declaration//GEN-END:variables
}
